package com.itcast.service.impl;

import com.itcast.pojo.Address;
import com.itcast.mapper.AddressMapper;
import com.itcast.service.Addressservice;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2020-06-19
 */
@Service
public class AddressServiceImpl extends ServiceImpl<AddressMapper, Address> implements Addressservice {
    @Autowired
    AddressMapper addressMapper;

    @Override
    public List<Integer> addressList(Integer id) {
        return addressMapper.addressList(id);
    }
}
